package com.deram.ctin.serv.main.api;

import com.deram.ctin.serv.enter.entity.EnterInfo;
import com.deram.ctin.serv.main.vo.EnterDetailVo;
import com.deram.ctin.serv.main.vo.EnterRelationVo;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author zhangcm
 * @version 1.0, 2017/9/26
 */
@FeignClient("serv-main")
@RequestMapping("/enterDetailApi")
public interface EnterDetailApi {

    @PostMapping("/findDetail")
    EnterDetailVo findDetail(@RequestParam("id") Long id);

    @PostMapping("/execGeneratePdf")
    EnterInfo execGeneratePdf(@RequestParam("id") Long id);
}
